import { Controller, Get } from '@nestjs/common';
import { Platformsort_Service } from '../platformsort/platformsort.service';
import { ApiTags } from '@nestjs/swagger';
import { util_ApiResponse_Base } from '@/common/util/apiResponse';
import { util_Index_ReturnContent } from '@/common/util/index';
@Controller('/web/platformsortWeb')
@ApiTags('platformsortWeb 商品分类')
export class PlatformsortWeb_Controller {
  constructor(private readonly platformSort_Servicc: Platformsort_Service) {}

  @Get('/list')
  @util_ApiResponse_Base({
    dataType: 'dataType_list',
    //apiKey: '/web/platformsortWeb/list Get',
    noAuth: true,
  })
  async platformsort_FindAllWeb() {
    return util_Index_ReturnContent(await this.platformSort_Servicc.platformsort_FindAllWeb());
  }
}
